package com.ifeng.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ifeng.system.entity.Class3;
import com.ifeng.system.mapper.Class3Mapper;
import com.ifeng.system.service.db3.IClass3Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author liwei
 * @since 2020-12-24
 */
@Service
public class Class3ServiceImpl extends ServiceImpl<Class3Mapper, Class3> implements IClass3Service {
    @Override
    public List<Class3> queryList(QueryWrapper<Class3> queryWrapper) {
        return list(queryWrapper);
    }

    @Override
    public boolean saveBatchClass3(Collection<Class3> entityList) {
        return saveBatch(entityList);
    }
}
